﻿using Demo.ProductService.Data;
using Demo.ProductService.Entities;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Domain.Repositories.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;

namespace Demo.ProductService.Repositorys;

/// <summary>
/// 商品仓储实现
/// </summary>
[Dependency(ServiceLifetime.Singleton)]
public class ProductRepository : EfCoreRepository<ProductServiceDbContext, Products, Guid>, IProductRepository
{
    public ProductRepository(IDbContextProvider<ProductServiceDbContext> dbContextProvider) : base(dbContextProvider)
    {
    }
}
